package cn.dmp.utils

object Func {


    def str2Int(str: String): Int = {
        try {
            str.toInt
        } catch {
            case _: Exception => 0
        }
    }

}
